Search
RadialGradientBrush Constructor (Single[], Color[], Double, Double)
See Also
 






Initializes a new instance of the RadialGradientBrush class.

Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing

 Syntax

Java  Copy Code

public RadialGradientBrush (
    float[] fractions,
    Color[] colors,
    double x,
    double y
)

 Parameters

fractions

An array of float numbers specifying the positions of the colors along the gradient.

colors

An array of Color objects representing the colors of the gradient.

x

The relative x-coordinate of the center point. Value 0.5 indicates the middle of the destination rectangle.

y

The relative y-coordinate of the center point. Value 0.5 indicates the middle of the destination rectangle.

 Remarks

Instances of the RadialGradientBrush class created using this constructor are currently not serialized.

 See Also